﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp10
{
    public enum NPCtype { 
    IronNPC,
    TaskNPC,
    StoreNPC,
    }
    abstract class NPC
    {
        public string name;
        public string NPCtype;

        public string Name
        {
            get { return this.name; }
            set { this.name = value; }
        }
        public string nPCType {
            get { return this.NPCtype; }
            set { this.NPCtype = value; }
        }
        public NPC(string name, NPCtype nPCType) 
        {
            this.name = name;
            this.nPCType = NPCtype;
        }
        public abstract void Speak();
    }
}
